import { BaseEntity } from '../../base/entity/base';
import { Column, Entity } from 'typeorm';

/**
 * 帖子标签关联表
 */
@Entity('community_post_tag')
export class CommunityPostTagEntity extends BaseEntity {
  @Column({ comment: '帖子ID' })
  postId: number;

  @Column({ comment: '标签ID' })
  tagId: number;
}
